package com.streamkar.entity.domain;

import com.alibaba.fastjson.JSONArray;
import com.streamkar.entity.base.PagingEntity;

import java.util.Date;

/**
 * @ClassName Agency
 * @Description
 * @Author tyfrost
 * @Date 2018/11/15 下午3:21
 * @Version 1.0
 */
public class Agency extends PagingEntity {
    /**
     * Agency的ID
     */
    private Integer agencyId;
    /**
     * Agency所在国家；用于将来按照国家来设定数据权限
     */
    private String country;
    /**
     * Agency的名称
     */
    private String name;
    /**
     * Agency所有人的Streamkar ID
     */
    private Integer ownerId;

    /**
     * Agency所有人的昵称
     */
    private String ownerName;
    /**
     * Agency所有人的头像
     */
    private String ownerAvatar;
    /**
     * Agency拥有的主播数量
     */
    private Integer talentCount;
    /**
     * Agency在当前月旗下主播，直播过（直播时长大于0）的数量
     */
    private Integer activeTalents;
    /**
     * Agency在当前月新招募主播数量
     */
    private Integer newTalents;
    /**
     * Agency在当前月旗下主播总直播时长，单位分钟
     */
    private Integer broadcastTime;
    /**
     * Agency在当前月旗下主播总收入钻石数量
     */
    private Long totalDiamonds;
    /**
     * 本条记录被更新时间
     */
    private Date updateTime;

    /**
     * 注册时间
     */
    private Date registerTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 当前代理的统计信息
     */
    private JSONArray agencyStat;

    public Integer getAgencyId() {
        return agencyId;
    }

    public void setAgencyId(Integer agencyId) {
        this.agencyId = agencyId;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Integer ownerId) {
        this.ownerId = ownerId;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getOwnerAvatar() {
        return ownerAvatar;
    }

    public void setOwnerAvatar(String ownerAvatar) {
        this.ownerAvatar = ownerAvatar;
    }

    public Integer getTalentCount() {
        return talentCount;
    }

    public void setTalentCount(Integer talentCount) {
        this.talentCount = talentCount;
    }

    public Integer getActiveTalents() {
        return activeTalents;
    }

    public void setActiveTalents(Integer activeTalents) {
        this.activeTalents = activeTalents;
    }

    public Integer getNewTalents() {
        return newTalents;
    }

    public void setNewTalents(Integer newTalents) {
        this.newTalents = newTalents;
    }

    public Integer getBroadcastTime() {
        return broadcastTime;
    }

    public void setBroadcastTime(Integer broadcastTime) {
        this.broadcastTime = broadcastTime;
    }

    public Long getTotalDiamonds() {
        return totalDiamonds;
    }

    public void setTotalDiamonds(Long totalDiamonds) {
        this.totalDiamonds = totalDiamonds;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public JSONArray getAgencyStat() {
        return agencyStat;
    }

    public void setAgencyStat(JSONArray agencyStat) {
        this.agencyStat = agencyStat;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
